<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="table-responsive">
<table class="cntable table table-bordered dataTable table-withdrawApplyfor">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:130px">广告位名称</th>
			<th style="width:100px">位置宽度</th>
			<th style="width:100px">位置高度</th>
			<th style="width:100px">广告位结构</th>
			<th style="width:100px">广告位描述</th>	
			<th style="width:100px">是否开放</th>	
		</tr>
	</thead>
	<tbody>
		<c:forEach var="advertisementLocation" items="${advertisementLocations}" varStatus="status">
			<tr data-id="${advertisementLocation.id}">
				<td>${status.index+1}</td>
				<td>${advertisementLocation.name}</td>
				<td>${advertisementLocation.width}</td>
				<td>${advertisementLocation.height}</td>
				<td>${advertisementLocation.feature}</td>
				<td>${advertisementLocation.comment}</td>
				<td>
				    <t:provider packageName="advertisement" enumClassName="OpenState" value="${advertisementLocation.isOpen}"/>  
				</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th absolute-pos">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>
</div>